package com.catering.mapper;

import com.catering.pojo.DVoucher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 徐
* @description 针对表【d_voucher】的数据库操作Mapper
* @createDate 2025-04-08 19:03:27
* @Entity com.catering.pojo.DVoucher
*/
public interface DVoucherMapper extends BaseMapper<DVoucher> {
    List<DVoucher> selectByDVoucher(Integer uid);
    List<DVoucher> selectByEffective();
    void updateByEffective(@Param("uid")Integer uid,@Param("vid") Integer vid);
    void updateByEffective1(@Param("vid") Integer vid);
}




